#include <stdio.h>
#include <fcntl.h>

int main()
{
  printf("child\n");

  int filep = open("childtext.txt", O_RDONLY);

  if (filep == 0){
    printf("fail\n");
 }else{
    printf("pass\n");
    }
}